package site.wtfu.framework.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import site.wtfu.framework.service.IOrderService;

/**
 * Copyright 2021 wtfu.site Inc. All Rights Reserved.
 *
 * @author: 12302
 * @date: 2021-05-02
 */
@Controller
@RequestMapping(value = "test")
public class TestOrderController {

    @Autowired
    public IOrderService iOrderService;

    @RequestMapping(value = "order")
    @ResponseBody
    public Object test(){
        System.out.println("invoke remote");
        return iOrderService.invokeremote();
    }

}
